Expand description

Extra utilities for axum.

Feature flags

axum-extra uses a set of [feature flags] to reduce the amount of compiled and optional dependencies.

The following optional features are available:

NameDescriptionDefault?
async-read-bodyEnables the AsyncReadBody bodyNo
cookieEnables the CookieJar extractorNo
cookie-privateEnables the PrivateCookieJar extractorNo
cookie-signedEnables the SignedCookieJar extractorNo
erased-jsonEnables the ErasedJson responseNo
formEnables the Form extractorNo
json-linesEnables the json-lines extractor and responseNo
queryEnables the Query extractorNo
spaEnables the Spa routerNo
typed-routingEnables the TypedPath routing utilitiesNo

Modules

Additional bodies.

Additional extractors.

json_linesjson-lines

Newline delimited JSON extractor and response.

Additional types for generating responses.

Additional types for defining routes.